home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 23 code / ProjectDrag 1.1b4 / Sources / ProjectDrag Sources / PDDialogs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-06  |  1.1 KB  |  32 lines  |  [TEXT/MPS ]

  1. /* PDDialogs.h: Utility dialog routines for ProjectDrag
  2.  *
  3.  * A set of applets for drag and drop source control by Tim Maroney.
  4.  * See develop, issue 23 for details.
  5.  *
  6.  * Built on DropShell by Leonard Rosenthol, Stephan Somogyi, and Marshall Clow,
  7.  * and using the MoreFiles utilities by Jim Luther.
  8.  *
  9.  * This software is free, but don't modify and redistribute it without
  10.  * changing the status window to indicate your name and your changes!
  11.  */
  12.  
  13. #ifndef __PDDIALOGS__
  14. #define __PDDIALOGS__
  15.  
  16. #include "PDUtilities.h"
  17.  
  18. OSErr GetUserSettings(Str63 userName, Str15 userNickname, Boolean alwaysAsk);
  19.  
  20. typedef enum { kConfirmYes, kConfirmNo, kConfirmCancel } ConfirmResponse;
  21. ConfirmResponse ResTextYesNoCancel(short strListID, short strIndex,
  22.                      StringPtr param1, StringPtr param2,
  23.                      StringPtr param3, StringPtr param4);
  24. Boolean ResTextYesNo(short strListID, short strIndex,
  25.                      StringPtr param1, StringPtr param2,
  26.                      StringPtr param3, StringPtr param4);
  27.  
  28. void ResTextDisplayDialog(short strListID, short index, CStringHandle theText);
  29. void TextDisplayDialog(ConstStr255Param message, CStringHandle theText);
  30.  
  31. #endif
  32.